package inside;

public class AnonymousNestedClassDemo {

    public static void main(String[] args) {
        AnonymousNestedClass a = new AnonymousNestedClass();
        // 外部类.接口名来访问，因为默认是嵌套
        AnonymousNestedClass.Car c = a.getCar();

        c.run();
    }
}
